import { TenantInfo } from '@/types/api/tenant';
import axios from 'axios';

export function getSelfTenant() {
  return axios.get<TenantInfo[]>('/sys/user/tenant/self/list');
}

export function getTenantList() {
  return axios.get<TenantInfo[]>('/sys/user/tenant/list');
}
